function [  ] = test_python_lsim_fq()

    function [ out ] = fq(in)
        out = fft(in, get_sampling_fq());
        out = out(1:1:22050);
        out = abs(out);
    end

        
blep1 = get_blep(get_blip_python('a500', 'led filter on', true, 'org'));
blep2 = get_blep(get_blip_python('a500', 'led filter off', true, 'org'));
blep4 = get_blep(get_blip_python('a1200', 'led filter on', true, 'org'));
blep5 = get_blep(get_blip_python('a1200', 'led filter off', true, 'org'));
blep7 = get_blep(get_blip_python('a1200', 'unfiltered', true, 'org'));

blep1a = get_blep(get_blip_python('a500 winuae', 'led filter on', true, 'lsim'));
blep2a = get_blep(get_blip_python('a500 winuae', 'led filter off', true, 'lsim'));
blep4a = get_blep(get_blip_python('a1200 winuae', 'led filter on', true, 'lsim'));
blep5a = get_blep(get_blip_python('a1200 winuae', 'led filter off', true, 'lsim'));
blep7a = get_blep(get_blip_python('a1200 winuae', 'unfiltered', true, 'lsim'));

wblep1 = get_blep(get_blip_winuae('a500', 'led filter on'));
wblep2 = get_blep(get_blip_winuae('a500', 'led filter off'));
wblep4 = get_blep(get_blip_winuae('a1200', 'led filter on'));
wblep5 = get_blep(get_blip_winuae('a1200', 'led filter off'));
wblep7 = get_blep(get_blip_winuae('a1200', 'unfiltered'));

blep1 = fq(blep1);
blep2 = fq(blep2);
blep4 = fq(blep4);
blep5 = fq(blep5);
blep7 = fq(blep7);

blep1a = fq(blep1a);
blep2a = fq(blep2a);
blep4a = fq(blep4a);
blep5a = fq(blep5a);
blep7a = fq(blep7a);

wblep1 = fq(wblep1);
wblep2 = fq(wblep2);
wblep4 = fq(wblep4);
wblep5 = fq(wblep5);
wblep7 = fq(wblep7);

figure(1);
hold on;
plot(blep1, 'r');
plot(blep1a, 'g');
plot(wblep1, 'b');
title('a500 led filter on fft');
legend('python-org', 'python-lsim', 'winuae');

figure(2);
hold on;
plot(blep2, 'r');
plot(blep2a, 'g');
plot(wblep2, 'b');
title('a500 led filter off fft');
legend('python-org', 'python-lsim', 'winuae');

figure(3);
hold on;
plot(blep4, 'r');
plot(blep4a, 'g');
plot(wblep4, 'b');
title('a1200 led filter on fft');
legend('python-org', 'python-lsim', 'winuae');

figure(4);
hold on;
plot(blep5, 'r');
plot(blep5a, 'g');
plot(wblep5, 'b');
title('a500 led filter off fft');
legend('python-org', 'python-lsim', 'winuae');

figure(5);
hold on;
plot(blep7, 'r');
plot(blep7a, 'g');
plot(wblep7, 'b');
title('filter off fft');
legend('python-org', 'python-lsim', 'winuae');

end

